<!DOCTYPE html>
<html lang="zh-cn" itemscope itemtype="http://schema.org/WebPage">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>晨光的博客</title>
  

<meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>

<meta name="MobileOptimized" content="width"/>
<meta name="HandheldFriendly" content="true"/>


<meta name="applicable-device" content="pc,mobile">

<meta name="theme-color" content="#f8f5ec" />
<meta name="msapplication-navbutton-color" content="#f8f5ec">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#f8f5ec">

<meta name="mobile-web-app-capable" content="yes">

<meta name="author" content="晨光" />
  <meta name="description" content="李晨光的博客，PHP技术分享，记录自己的日常知识点" />
  <meta name="keywords" content="李晨光, 晨光的博客, PHP技术分享, 李晨光的博客" />






<meta name="generator" content="Hugo 0.55.6" />


<link rel="canonical" href="https://lichenguang.net/" />
<link href="%7balternate%20%7bRSS%20application/rss&#43;xml%20%20index%20alternate%20%20false%20false%20true%20false%20false%200%7d%20/index.xml%20https://lichenguang.net/index.xml%7d" rel="alternate" type="application/rss+xml" title="晨光的博客" />



<link rel="icon" href="/favicon.ico" />











<link rel="stylesheet" href="/sass/jane.min.57ebe9c198f36b136ba71149c7220932b765de3524fd1fa898395521ed819be1.css" integrity="sha256-V&#43;vpwZjzaxNrpxFJxyIJMrdl3jUk/R&#43;omDlVIe2Bm&#43;E=" media="screen" crossorigin="anonymous">





<meta property="og:title" content="晨光的博客" />
<meta property="og:description" content="李晨光的博客，PHP技术分享，记录自己的日常知识点" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://lichenguang.net/" />

<meta property="og:updated_time" content="2019-09-27T23:16:18&#43;08:00"/>

<meta itemprop="name" content="晨光的博客">
<meta itemprop="description" content="李晨光的博客，PHP技术分享，记录自己的日常知识点">

<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="晨光的博客"/>
<meta name="twitter:description" content="李晨光的博客，PHP技术分享，记录自己的日常知识点"/>

<!--[if lte IE 9]>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js"></script>
<![endif]-->

<!--[if lt IE 9]>
  <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
<![endif]-->




</head>
<body>
  <div id="mobile-navbar" class="mobile-navbar">
  <div class="mobile-header-logo">
    <a href="/" class="logo">晨光的博客</a>
  </div>
  <div class="mobile-navbar-icon">
    <span></span>
    <span></span>
    <span></span>
  </div>
</div>
<nav id="mobile-menu" class="mobile-menu slideout-menu">
  <ul class="mobile-menu-list">
    <li class="mobile-menu-item">
        
          
          
            <a class="menu-item-link" href="https://lichenguang.net/">首页</a>
          
        
      </li><li class="mobile-menu-item">
        
          
          
            <a class="menu-item-link" href="https://lichenguang.net/post/">文章</a>
          
        
      </li><li class="mobile-menu-item">
        
          
          
            <a class="menu-item-link" href="https://lichenguang.net/tags/">标签</a>
          
        
      </li><li class="mobile-menu-item">
        
          
          
            <a class="menu-item-link" href="https://lichenguang.net/categories/">分类</a>
          
        
      </li><li class="mobile-menu-item">
        
          
          
            <a class="menu-item-link" href="https://lichenguang.net/%E8%81%94%E7%B3%BB%E6%88%91/index.html">联系我</a>
          
        
      </li>
    

    
  </ul>
</nav>


  
    






  <link rel="stylesheet" href="/lib/photoswipe/photoswipe.min.css" />
  <link rel="stylesheet" href="/lib/photoswipe/default-skin/default-skin.min.css" />




<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">

<div class="pswp__bg"></div>

<div class="pswp__scroll-wrap">
    
    <div class="pswp__container">
      <div class="pswp__item"></div>
      <div class="pswp__item"></div>
      <div class="pswp__item"></div>
    </div>
    
    <div class="pswp__ui pswp__ui--hidden">
    <div class="pswp__top-bar">
      
      <div class="pswp__counter"></div>
      <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
      <button class="pswp__button pswp__button--share" title="Share"></button>
      <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
      <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
      
      
      <div class="pswp__preloader">
        <div class="pswp__preloader__icn">
          <div class="pswp__preloader__cut">
            <div class="pswp__preloader__donut"></div>
          </div>
        </div>
      </div>
    </div>
    <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
      <div class="pswp__share-tooltip"></div>
    </div>
    <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
    </button>
    <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
    </button>
    <div class="pswp__caption">
      <div class="pswp__caption__center"></div>
    </div>
    </div>
    </div>
</div>

  

  

  

  <header id="header" class="header container">
    <div class="logo-wrapper">
  <a href="/" class="logo">
    
      晨光的博客
    
  </a>
</div>

<nav class="site-navbar">
  <ul id="menu" class="menu">
    
    
        <li class="menu-item active">
        
          
          
            <a class="menu-item-link" href="https://lichenguang.net/">首页</a>
          

        

      </li>
    
        <li class="menu-item">
        
          
          
            <a class="menu-item-link" href="https://lichenguang.net/post/">文章</a>
          

        

      </li>
    
        <li class="menu-item">
        
          
          
            <a class="menu-item-link" href="https://lichenguang.net/tags/">标签</a>
          

        

      </li>
    
        <li class="menu-item">
        
          
          
            <a class="menu-item-link" href="https://lichenguang.net/categories/">分类</a>
          

        

      </li>
    
        <li class="menu-item">
        
          
          
            <a class="menu-item-link" href="https://lichenguang.net/%E8%81%94%E7%B3%BB%E6%88%91/index.html">联系我</a>
          

        

      </li>
    

    
    

    
  </ul>
</nav>

  </header>

  <div id="mobile-panel">
    <main id="main" class="main bg-llight">
      <div class="content-wrapper">
        <div id="content" class="content container">
          
  <section id="posts" class="posts">
    
    
    
      <article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      
      <a class="post-link" href="/post/tp%E8%8E%B7%E5%8F%96%E5%99%A8%E6%96%B0%E5%A2%9E%E5%AD%97%E6%AE%B5%E5%8A%A0%E5%85%A5%E5%88%97%E8%A1%A8/">Tp获取器新增字段加入列表</a>
    </h1>
    
    <div class="post-meta">
      <time datetime="2019-09-27" class="post-time">
        2019-09-27
      </time>
      <div class="post-category">
          <a href="https://lichenguang.net/categories/php/"> php </a>
          
        </div>
      <span class="more-meta"> 约 148 字 </span>
      <span class="more-meta"> 预计阅读 1 分钟 </span>
      
      
      
    </div>
  </header>
  
  <div class="post-content">
    
    <div class="post-summary">
      背景：在使用 tp 查询的时候，大部分的时候都会用到获取器，当获取器为新增字段的时候。我们查询单条数据可以直接用文档上的方法 1 2 $user = User::find(1); echo $user-&gt;status; // 例如输
    </div>
    <div class="read-more">
      <a href="/post/tp%E8%8E%B7%E5%8F%96%E5%99%A8%E6%96%B0%E5%A2%9E%E5%AD%97%E6%AE%B5%E5%8A%A0%E5%85%A5%E5%88%97%E8%A1%A8/" class="read-more-link">阅读全文</a>
    </div>
    
  </div>
</article>

    
      <article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      
      <a class="post-link" href="/post/tp5%E9%87%8C%E8%8E%B7%E5%8F%96%E5%8F%82%E6%95%B0%E9%87%8C%E6%9C%89url%E5%9C%B0%E5%9D%80/">Tp里获取参数里有URL地址</a>
    </h1>
    
    <div class="post-meta">
      <time datetime="2019-09-25" class="post-time">
        2019-09-25
      </time>
      <div class="post-category">
          <a href="https://lichenguang.net/categories/php/"> PHP </a>
          
        </div>
      <span class="more-meta"> 约 140 字 </span>
      <span class="more-meta"> 预计阅读 1 分钟 </span>
      
      
      
    </div>
  </header>
  
  <div class="post-content">
    
    <div class="post-summary">
      在thinkPHP里面提交form数据的时候，我们习惯使用 input()获取所有参数，但是这个时候我们获取到的参数有可能是带有提交地址的 怎么
    </div>
    <div class="read-more">
      <a href="/post/tp5%E9%87%8C%E8%8E%B7%E5%8F%96%E5%8F%82%E6%95%B0%E9%87%8C%E6%9C%89url%E5%9C%B0%E5%9D%80/" class="read-more-link">阅读全文</a>
    </div>
    
  </div>
</article>

    
      <article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      
      <a class="post-link" href="/post/js%E8%B7%A8%E5%9F%9F%E9%97%AE%E9%A2%98/">Js跨域问题</a>
    </h1>
    
    <div class="post-meta">
      <time datetime="2019-09-11" class="post-time">
        2019-09-11
      </time>
      <div class="post-category">
          <a href="https://lichenguang.net/categories/%E4%BB%A3%E7%A0%81%E8%AE%B0%E5%BD%95/"> 代码记录 </a>
          
        </div>
      <span class="more-meta"> 约 292 字 </span>
      <span class="more-meta"> 预计阅读 1 分钟 </span>
      
      
      
    </div>
  </header>
  
  <div class="post-content">
    
    <div class="post-summary">
      在JS中经常会遇到 跨域 的问题，基本上的跨域解决方案都可以在百度上搜索得到，在这里我要记录刚刚踩得坑 先看下面的配置，没啥问题，就是基本的跨域传
    </div>
    <div class="read-more">
      <a href="/post/js%E8%B7%A8%E5%9F%9F%E9%97%AE%E9%A2%98/" class="read-more-link">阅读全文</a>
    </div>
    
  </div>
</article>

    
      <article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      
      <a class="post-link" href="/post/php%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%8F%8D%E7%88%AC%E8%99%AB%E4%BB%A3%E7%A0%81/">PHP服务器反爬虫代码</a>
    </h1>
    
    <div class="post-meta">
      <time datetime="2019-09-01" class="post-time">
        2019-09-01
      </time>
      <div class="post-category">
          <a href="https://lichenguang.net/categories/%E4%BB%A3%E7%A0%81%E8%AE%B0%E5%BD%95/"> 代码记录 </a>
          
        </div>
      <span class="more-meta"> 约 1440 字 </span>
      <span class="more-meta"> 预计阅读 3 分钟 </span>
      
      
      
    </div>
  </header>
  
  <div class="post-content">
    
    <div class="post-summary">
      一、Apache ①、通过修改 .htaccess 文件 修改网站目录下的.htaccess，添加如下代码即可(2 种代码任选)： 可用代码 (1)： 1 2 3 RewriteEngine On RewriteCond %{HTTP\_USER\_AGENT} (^$|FeedDemon|Indy Library|Alexa Toolbar|AskTbFXTV|AhrefsBot|CrawlDaddy|CoolpadWebkit|Java|Feedly|UniversalFeedParser|ApacheBench|Microsoft
    </div>
    <div class="read-more">
      <a href="/post/php%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%8F%8D%E7%88%AC%E8%99%AB%E4%BB%A3%E7%A0%81/" class="read-more-link">阅读全文</a>
    </div>
    
  </div>
</article>

    
      <article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      
      <a class="post-link" href="/post/%E5%8C%B9%E9%85%8D%E4%B8%AD%E5%9B%BD%E5%A4%A7%E9%99%86%E6%89%8B%E6%9C%BA%E5%8F%B7%E7%A0%81%E7%9A%84%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F/">匹配中国大陆手机号码的正则表达式</a>
    </h1>
    
    <div class="post-meta">
      <time datetime="2019-09-01" class="post-time">
        2019-09-01
      </time>
      <div class="post-category">
          <a href="https://lichenguang.net/categories/%E4%BB%A3%E7%A0%81%E8%AE%B0%E5%BD%95/"> 代码记录 </a>
          
        </div>
      <span class="more-meta"> 约 688 字 </span>
      <span class="more-meta"> 预计阅读 2 分钟 </span>
      
      
      
    </div>
  </header>
  
  <div class="post-content">
    
    <div class="post-summary">
      ^正则表达式 匹配所有号码（手机卡 + 数据卡 + 上网卡） [^(?:\+?86)?1(?:3\d{3}|5[^4\D\]\d{2}|8\d{3}|7[^29\D](?(?&lt;=4)(?:0\d|1[0-2]|9\d)|\d{2})|9[189]\d{2}|6[567]\d{2}|4(?:[14]0\d{3}|[68]\d{4}|[579]\d{2}))\d{6}$](https://www.debuggex.com/r/tLZQT3k0DZqmnP8o) 匹配所有支持短信功能的号码（手机卡 + 上网卡） [^(?:\+?86)?1(?:3\d{3}|5[^4\D\]\d{2}|8\d{3}|7[^29\D](?(?&lt;=4)(?:0\d|1[0-2]|9\d)|\d{2})|9[189]\d{2}|6[567]\d{2}|4[579]\d{2})\d{6}$](https://www.debuggex.com/r/VbgdCcGSZcr9Kcgi) 手机卡 匹配所有 [^(?:\+?86)?1(?:3\d{3}|5[^4\D\]\d{2}|8\d{3}|7[^0129\D](?(?&lt;=4)(?:0\d|1[0-2]|9\d)|\d{2})|9[189]\d{2}|66\d{2})\d{6}$](https://www.debuggex.com/r/YbIeQ_M4s88_9NHG) 匹配中国移动 [^(?:\+?86)?1(?:3[^0-3\D](?(?&lt;=4)[^9\D\]|\d)|5[^3-6\D]\d|8[23478]\d|(?:78|98)\d)\d{7}$](https://www.debuggex.com/r/_oGTPFpiqUNdaP8t) 匹配中国联通
    </div>
    <div class="read-more">
      <a href="/post/%E5%8C%B9%E9%85%8D%E4%B8%AD%E5%9B%BD%E5%A4%A7%E9%99%86%E6%89%8B%E6%9C%BA%E5%8F%B7%E7%A0%81%E7%9A%84%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F/" class="read-more-link">阅读全文</a>
    </div>
    
  </div>
</article>

    
      <article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      
      <a class="post-link" href="/post/%E5%88%A4%E6%96%AD%E6%B5%8F%E8%A7%88%E5%99%A8%E7%B1%BB%E5%9E%8B/">判断浏览器类型</a>
    </h1>
    
    <div class="post-meta">
      <time datetime="2019-09-01" class="post-time">
        2019-09-01
      </time>
      <div class="post-category">
          <a href="https://lichenguang.net/categories/%E4%BB%A3%E7%A0%81%E8%AE%B0%E5%BD%95/"> 代码记录 </a>
          
        </div>
      <span class="more-meta"> 约 262 字 </span>
      <span class="more-meta"> 预计阅读 1 分钟 </span>
      
      
      
    </div>
  </header>
  
  <div class="post-content">
    
    <div class="post-summary">
      1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 var getBrowserInfo = function(){ var ua = navigator.userAgent.toLocaleLowerCase(); var browserType=null; if (ua.match(/msie/) != null || ua.match(/trident/) != null) { browserType = &#34;IE&#34;; browserVersion = ua.match(/msie ([\d.]+)/) != null ?
    </div>
    <div class="read-more">
      <a href="/post/%E5%88%A4%E6%96%AD%E6%B5%8F%E8%A7%88%E5%99%A8%E7%B1%BB%E5%9E%8B/" class="read-more-link">阅读全文</a>
    </div>
    
  </div>
</article>

    
      <article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      
      <a class="post-link" href="/post/%E7%9F%AD%E4%BF%A1%E9%AA%8C%E8%AF%81%E5%87%BD%E6%95%B0/">短信验证函数</a>
    </h1>
    
    <div class="post-meta">
      <time datetime="2019-09-01" class="post-time">
        2019-09-01
      </time>
      <div class="post-category">
          <a href="https://lichenguang.net/categories/%E4%BB%A3%E7%A0%81%E8%AE%B0%E5%BD%95/"> 代码记录 </a>
          
        </div>
      <span class="more-meta"> 约 552 字 </span>
      <span class="more-meta"> 预计阅读 2 分钟 </span>
      
      
      
    </div>
  </header>
  
  <div class="post-content">
    
    <div class="post-summary">
      HTML代码 1 2 3 4 5 6 7 8 9 10 &lt;div class=&#34;weui_cell&#34;&gt; &lt;div class=&#34;weui_cell_hd&#34;&gt;&lt;label class=&#34;weui_label&#34;&gt;手机验证码&lt;/label&gt;&
    </div>
    <div class="read-more">
      <a href="/post/%E7%9F%AD%E4%BF%A1%E9%AA%8C%E8%AF%81%E5%87%BD%E6%95%B0/" class="read-more-link">阅读全文</a>
    </div>
    
  </div>
</article>

    
      <article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      
      <a class="post-link" href="/post/tp%E6%95%B0%E6%8D%AE%E5%BA%93%E8%BE%93%E5%87%BA%E6%97%B6%E9%97%B4%E6%A0%BC%E5%BC%8F/">Tp数据库输出时间格式</a>
    </h1>
    
    <div class="post-meta">
      <time datetime="2019-08-24" class="post-time">
        2019-08-24
      </time>
      <div class="post-category">
          <a href="https://lichenguang.net/categories/php/"> PHP </a>
          
        </div>
      <span class="more-meta"> 约 402 字 </span>
      <span class="more-meta"> 预计阅读 1 分钟 </span>
      
      
      
    </div>
  </header>
  
  <div class="post-content">
    
    <div class="post-summary">
      thinkphp中保存的时间格式有很多种（事实上PHP都有很多种，这里拿thinkphp示例），如果你保存的是时间戳、datetime、da
    </div>
    <div class="read-more">
      <a href="/post/tp%E6%95%B0%E6%8D%AE%E5%BA%93%E8%BE%93%E5%87%BA%E6%97%B6%E9%97%B4%E6%A0%BC%E5%BC%8F/" class="read-more-link">阅读全文</a>
    </div>
    
  </div>
</article>

    
      <article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      
      <a class="post-link" href="/post/ecshop%E5%BC%80%E5%8F%91%E6%97%A5%E8%AE%B0/">Ecshop开发日记</a>
    </h1>
    
    <div class="post-meta">
      <time datetime="2019-08-23" class="post-time">
        2019-08-23
      </time>
      <div class="post-category">
          <a href="https://lichenguang.net/categories/php/"> PHP </a>
          
        </div>
      <span class="more-meta"> 约 1106 字 </span>
      <span class="more-meta"> 预计阅读 3 分钟 </span>
      
      
      
    </div>
  </header>
  
  <div class="post-content">
    
    <div class="post-summary">
      域名/mobile/admin/index.php，手机端后台设置地址 域名/admin/index.php，后台设置地址 商城设置 在数据表【e
    </div>
    <div class="read-more">
      <a href="/post/ecshop%E5%BC%80%E5%8F%91%E6%97%A5%E8%AE%B0/" class="read-more-link">阅读全文</a>
    </div>
    
  </div>
</article>

    
      <article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      
      <a class="post-link" href="/post/layui%E8%A1%A8%E6%A0%BC%E5%92%8Cthinkphp%E7%9A%84%E7%BB%93%E5%90%88/">Layui表格和thinkphp的结合</a>
    </h1>
    
    <div class="post-meta">
      <time datetime="2019-08-04" class="post-time">
        2019-08-04
      </time>
      <div class="post-category">
          <a href="https://lichenguang.net/categories/php/"> php </a>
          
        </div>
      <span class="more-meta"> 约 259 字 </span>
      <span class="more-meta"> 预计阅读 1 分钟 </span>
      
      
      
    </div>
  </header>
  
  <div class="post-content">
    
    <div class="post-summary">
      layui表格和thinkphp的分页的结合 - 我使用的是thinkphp5.0，使用其他版本大同小异 thinkPHP代码 1 2 3 $limit = input(&#39;limit&#39;); $list = Db::name(&#39;info&#39;)-&gt;paginate($limit); return
    </div>
    <div class="read-more">
      <a href="/post/layui%E8%A1%A8%E6%A0%BC%E5%92%8Cthinkphp%E7%9A%84%E7%BB%93%E5%90%88/" class="read-more-link">阅读全文</a>
    </div>
    
  </div>
</article>

    
      <article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      
      <a class="post-link" href="/post/%E7%99%BE%E5%BA%A6%E4%BA%91%E4%B8%8D%E9%99%90%E9%80%9F/">百度云不限速</a>
    </h1>
    
    <div class="post-meta">
      <time datetime="2019-07-24" class="post-time">
        2019-07-24
      </time>
      <div class="post-category">
          <a href="https://lichenguang.net/categories/%E7%99%BE%E5%BA%A6%E4%BA%91/"> 百度云 </a>
          
        </div>
      <span class="more-meta"> 约 178 字 </span>
      <span class="more-meta"> 预计阅读 1 分钟 </span>
      
      
      
    </div>
  </header>
  
  <div class="post-content">
    
    <div class="post-summary">
      BND这款软件名字就是Baidu Netdisk Downloader的缩写。软件基于之前的BaiduPCS-Go项目开发，原理是aria2的多线程高速下载
    </div>
    <div class="read-more">
      <a href="/post/%E7%99%BE%E5%BA%A6%E4%BA%91%E4%B8%8D%E9%99%90%E9%80%9F/" class="read-more-link">阅读全文</a>
    </div>
    
  </div>
</article>

    
      <article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      
      <a class="post-link" href="/post/%E5%BE%AE%E4%BF%A1%E6%94%AF%E4%BB%98%E8%BF%94%E5%9B%9Ehttp_raw_post_data%E7%A9%BA/">微信支付返回HTTP_RAW_POST_DATA空</a>
    </h1>
    
    <div class="post-meta">
      <time datetime="2019-07-23" class="post-time">
        2019-07-23
      </time>
      <div class="post-category">
          <a href="https://lichenguang.net/categories/%E5%BE%AE%E4%BF%A1%E6%94%AF%E4%BB%98/"> 微信支付 </a>
          
        </div>
      <span class="more-meta"> 约 207 字 </span>
      <span class="more-meta"> 预计阅读 1 分钟 </span>
      
      
      
    </div>
  </header>
  
  <div class="post-content">
    
    <div class="post-summary">
      今天调整一个项目二开的时候遇到的问题在微信支付之后，无法获取到HTTP_RAW_POST_DATA的返回 大概的找了一下发现了原因，PHP版本
    </div>
    <div class="read-more">
      <a href="/post/%E5%BE%AE%E4%BF%A1%E6%94%AF%E4%BB%98%E8%BF%94%E5%9B%9Ehttp_raw_post_data%E7%A9%BA/" class="read-more-link">阅读全文</a>
    </div>
    
  </div>
</article>

    
      <article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      
      <a class="post-link" href="/post/%E7%9B%91%E5%90%AC%E5%AD%90iframe%E9%87%8C%E9%9D%A2%E7%9A%84%E7%82%B9%E5%87%BB%E4%BA%8B%E4%BB%B6/">监听子iframe里面的点击事件</a>
    </h1>
    
    <div class="post-meta">
      <time datetime="2019-07-22" class="post-time">
        2019-07-22
      </time>
      <div class="post-category">
          <a href="https://lichenguang.net/categories/jquery/"> jQuery </a>
          
        </div>
      <span class="more-meta"> 约 300 字 </span>
      <span class="more-meta"> 预计阅读 1 分钟 </span>
      
      
      
    </div>
  </header>
  
  <div class="post-content">
    
    <div class="post-summary">
      jQuery获取子iframe中点击事件 1 iframe.contents().find(&#34;a&#34;)是能成功获取a标签链接，拼接
    </div>
    <div class="read-more">
      <a href="/post/%E7%9B%91%E5%90%AC%E5%AD%90iframe%E9%87%8C%E9%9D%A2%E7%9A%84%E7%82%B9%E5%87%BB%E4%BA%8B%E4%BB%B6/" class="read-more-link">阅读全文</a>
    </div>
    
  </div>
</article>

    
      <article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      
      <a class="post-link" href="/post/hugo%E6%93%8D%E4%BD%9C%E6%8C%87%E5%8D%97/">Hugo操作指南</a>
    </h1>
    
    <div class="post-meta">
      <time datetime="2019-07-22" class="post-time">
        2019-07-22
      </time>
      <div class="post-category">
          <a href="https://lichenguang.net/categories/%E6%93%8D%E4%BD%9C%E6%8C%87%E5%8D%97/"> 操作指南 </a>
          
        </div>
      <span class="more-meta"> 约 0 字 </span>
      <span class="more-meta"> 预计阅读 0 分钟 </span>
      
      
      
    </div>
  </header>
  
  <div class="post-content">
    
    <div class="post-summary">
      
    </div>
    <div class="read-more">
      <a href="/post/hugo%E6%93%8D%E4%BD%9C%E6%8C%87%E5%8D%97/" class="read-more-link">阅读全文</a>
    </div>
    
  </div>
</article>

    
      <article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      
      <a class="post-link" href="/post/%E7%99%BB%E9%99%86%E9%A1%B5%E9%9D%A2html%E6%A8%A1%E6%9D%BF/">登陆页面html模板</a>
    </h1>
    
    <div class="post-meta">
      <time datetime="2019-07-22" class="post-time">
        2019-07-22
      </time>
      <div class="post-category">
          <a href="https://lichenguang.net/categories/%E9%9D%99%E6%80%81%E8%B5%84%E6%BA%90%E6%A8%A1%E6%9D%BF/"> 静态资源模板 </a>
          
        </div>
      <span class="more-meta"> 约 8 字 </span>
      <span class="more-meta"> 预计阅读 1 分钟 </span>
      
      
      
    </div>
  </header>
  
  <div class="post-content">
    
    <div class="post-summary">
      下载链接 页面样式
    </div>
    <div class="read-more">
      <a href="/post/%E7%99%BB%E9%99%86%E9%A1%B5%E9%9D%A2html%E6%A8%A1%E6%9D%BF/" class="read-more-link">阅读全文</a>
    </div>
    
  </div>
</article>

    
  </section>

  
  



  
  
  

  
  

  
  

  
  

  
  
  <nav class="pagination">
    <ul>
      
      <li  class="active" >
        <a href="/">1</a>
      </li>
      
      <li >
        <a href="/page/2/">2</a>
      </li>
      
    </ul>
  </nav>

  
  





        </div>
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="icon-links">
  
  
    <a href="mailto:hollowcg@foxmail.com" rel="me noopener" class="iconfont"
      title="email" >
      <svg class="icon" viewBox="0 0 1451 1024" version="1.1"
  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
  width="36" height="36">
  <path d="M664.781909 681.472759 0 97.881301C0 3.997201 71.046997 0 71.046997 0L474.477909 0 961.649408 0 1361.641813 0C1361.641813 0 1432.688811 3.997201 1432.688811 97.881301L771.345323 681.472759C771.345323 681.472759 764.482731 685.154773 753.594283 688.65053L753.594283 688.664858C741.602731 693.493018 729.424896 695.068979 718.077952 694.839748 706.731093 695.068979 694.553173 693.493018 682.561621 688.664858L682.561621 688.65053C671.644501 685.140446 664.781909 681.472759 664.781909 681.472759L664.781909 681.472759ZM718.063616 811.603883C693.779541 811.016482 658.879232 802.205449 619.10784 767.734955 542.989056 701.759633 0 212.052267 0 212.052267L0 942.809523C0 942.809523 0 1024 83.726336 1024L682.532949 1024 753.579947 1024 1348.948139 1024C1432.688811 1024 1432.688811 942.809523 1432.688811 942.809523L1432.688811 212.052267C1432.688811 212.052267 893.138176 701.759633 817.019477 767.734955 777.248 802.205449 742.347691 811.03081 718.063616 811.603883L718.063616 811.603883Z"></path>
</svg>

    </a>


<a href="https://lichenguang.net/index.xml" rel="noopener alternate" type="application/rss&#43;xml"
    class="iconfont" title="rss" target="_blank">
    <svg class="icon" viewBox="0 0 1024 1024" version="1.1"
  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
  width="30" height="30">
  <path d="M819.157333 1024C819.157333 574.592 449.408 204.8 0 204.8V0c561.706667 0 1024 462.293333 1024 1024h-204.842667zM140.416 743.04a140.8 140.8 0 0 1 140.501333 140.586667A140.928 140.928 0 0 1 140.074667 1024C62.72 1024 0 961.109333 0 883.626667s62.933333-140.544 140.416-140.586667zM678.784 1024h-199.04c0-263.210667-216.533333-479.786667-479.744-479.786667V345.173333c372.352 0 678.784 306.517333 678.784 678.826667z"></path>
</svg>

  </a>
   
</div>

<div class="copyright">
  <span class="power-by">
    感谢 <a class="hexo-link" href="https://gohugo.io">Hugo</a>
  </span>
  <span class="division">|</span>
  <span class="theme-info">
    主题 - <a class="theme-link" href="https://github.com/xianmin/hugo-theme-jane">Jane</a>
  </span>

  <span class="copyright-year">
    &copy;
    2019
    <span class="heart">
      
      <i class="iconfont">
        <svg class="icon" viewBox="0 0 1025 1024" version="1.1"
  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
  width="14" height="14">
  <path d="M1000.1 247.9c-15.5-37.3-37.6-70.6-65.7-98.9-54.4-54.8-125.8-85-201-85-85.7 0-166 39-221.4 107.4C456.6 103 376.3 64 290.6 64c-75.1 0-146.5 30.4-201.1 85.6-28.2 28.5-50.4 61.9-65.8 99.3-16 38.8-24 79.9-23.6 122.2 0.7 91.7 40.1 177.2 108.1 234.8 3.1 2.6 6 5.1 8.9 7.8 14.9 13.4 58 52.8 112.6 102.7 93.5 85.5 209.9 191.9 257.5 234.2 7 6.1 15.8 9.5 24.9 9.5 9.2 0 18.1-3.4 24.9-9.5 34.5-30.7 105.8-95.9 181.4-165 74.2-67.8 150.9-138 195.8-178.2 69.5-57.9 109.6-144.4 109.9-237.3 0.1-42.5-8-83.6-24-122.2z"
   fill="#8a8a8a"></path>
</svg>

      </i>
    </span><span class="author">
        晨光
        
      </span></span>

  
  

  
</div>


<div style="display: none;">
  <script type="text/javascript" src="https://s23.cnzz.com/z_stat.php?id=1277834778&web_id=1277834778"></script>
</div>

    </footer>

    <div class="back-to-top" id="back-to-top">
      <i class="iconfont">
        
        <svg class="icon" viewBox="0 0 1024 1024" version="1.1"
  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
  width="35" height="35">
  <path d="M510.866688 227.694839 95.449397 629.218702l235.761562 0-2.057869 328.796468 362.40389 0L691.55698 628.188232l241.942331-3.089361L510.866688 227.694839zM63.840492 63.962777l894.052392 0 0 131.813095L63.840492 195.775872 63.840492 63.962777 63.840492 63.962777zM63.840492 63.962777"></path>
</svg>

      </i>
    </div>
  </div>
  
<script type="text/javascript" src="/lib/jquery/jquery-3.2.1.min.js"></script>
  <script type="text/javascript" src="/lib/slideout/slideout-1.0.1.min.js"></script>




<script type="text/javascript" src="/js/main.dee43230127a73d039a734510fa896c89c3c7ce0cf0be0c7a7433f8fd69b76dc.js" integrity="sha256-3uQyMBJ6c9A5pzRRD6iWyJw8fODPC&#43;DHp0M/j9abdtw=" crossorigin="anonymous"></script>






  
    <script type="text/javascript" src="/js/load-photoswipe.js"></script>
    <script type="text/javascript" src="/lib/photoswipe/photoswipe.min.js"></script>
    <script type="text/javascript" src="/lib/photoswipe/photoswipe-ui-default.min.js"></script>
  















</body>
</html>
